Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

stm32cube: recalibrate hsi clock after reset for H7/H7RS serie #231

Closed

Conversation

djiatsaf-st
Copy link
Contributor

@djiatsaf-st djiatsaf-st commented Sep 4, 2024

This allows the HSI clock to be recalibrated after a reset to default state.

The LL_RCC_HSI_SetCalibTrimming function is already define in stm32h7xx_ll_rcc.h (line 1809) , stm32h7rsxx_ll_rcc.h (line 1615), and just need to be call where need.

0x40U is a default hsi calibration trimming for h7 line.

This help to fix issue #77915 https://github.com/zephyrproject-rtos/zephyr/issues/77915#event-14114133608

This allows the HSI clock to be recalibrated after
a reset to default state.
0x40U is a default hsi calibration trimming for h7 line.

Signed-off-by: Fabrice DJIATSA <[email protected]>
@erwango
Copy link
Member

erwango commented Sep 4, 2024

These functions are not used in Zephyr, hence this change is not required. Though, feel free to open an issue in respective ST Github repos

@erwango
Copy link
Member

erwango commented Sep 10, 2024

Closing, as discussed

@erwango erwango closed this Sep 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants